package com.by.dao;

import java.util.List;
import java.util.Map;

import com.by.entity.tb;
public interface tbDao {
    List<tb> getAlltbs();
    List<tb> gettbsByPage(Map<String,Object> params);

    int gettbCount();

    tb gettbById(int id);
    int addtb(tb tb);
    int updatetb(tb tb);
    int deltb(int id);

    List<tb> gettbByScoreAndDept(tb tb);

    List<tb> gettbByScoreOrDept(tb tb);
    int deltbs(int[] arrays);
}
